package com.plwf.lake.controller;


import com.plwf.lake.entity.DriverUsers;
import com.plwf.lake.service.DriverUsersService;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;


import javax.annotation.Resource;

@RestController
public class DriverUsersCtrl{

    //登陆
    @RequestMapping("/aaa/{id}")
    public Boolean login(@PathVariable("id") Integer id){
        boolean flag = false;
        if(id != null){ // git Test2
            System.out.println(id);
            flag = true;
        }
        return flag;
    }
}
